<template>
    <div class="address-wrapper">
         <div class="dian"><img src="../assets/头部.png"></div>
         <div class="head">
            <div class="heng-wrapper">
            <span><img src="../assets/小于号.png" class="span-img" @click="back()"></span>
            <span class="span">管理收货地址</span>
            <span class="span" @click="add()">新建</span>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    methods:{
    back(){
      this.$router.push('/profile')
    },
    add(){
         this.$router.push('/Newcreate')
    }
  }
}
</script>

<style lang="css"  scoped>
.address-wrapper{
  width: 100vw;
  min-height:100vh ;
  background-color: #f3efef;
}
.dian{
  width: 100%;
  height: 5vw;
  top: 0;
}
.dian img{
  width: 100%;
  height: 5vw;
}
.head{
  height: 18vw;
  width: 100vw;
  background-color: white;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  justify-content: space-around;
}
.heng-wrapper{
  height: 18vw;
  width: 91vw;
  margin: 7vw auto 0 auto;
  display: flex;
  justify-content: space-between;
}
.span{
  color: black;
  font-size:5.5vw ;
  font-weight: 400;
}
.heng span{
    margin-left: 3vw;
    margin-top: 2vw;
}
.span-img{
    width: 7vw;
    height: 7vw;
}
</style>